package com.dikang.keer.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dikang.common.utils.PageUtils;
import com.dikang.keer.product.entity.AttrEntity;
import com.dikang.keer.product.entity.AttrGroupEntity;
import com.dikang.keer.product.vo.AttrGroupVo;
import com.dikang.keer.product.vo.GroupWithAttrsVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author stbz
 * @email 1287796639@qq.com
 * @date 2021-10-21 02:01:46
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long categoryId);

    List<AttrEntity> getAttrRelation(Long attrgroupId);

    void deleteAttrGroup(AttrGroupVo[] attrGroupVos);

    List<GroupWithAttrsVo> getGroupwithAttrByCatelogId(Long catelogId);


}

